package com.example.compose

import androidx.annotation.DrawableRes



sealed class StarScreen(
    @DrawableRes val default: Int? = null,
    @DrawableRes val select: Int? = null,
    val route: String
) {
    object FirstPage : StarScreen(
        default = R.mipmap.tag_icon_1_default,
        select = R.mipmap.tag_icon_1_select,
        route = "first"
    )

    object SecondPage : StarScreen(
        default = R.mipmap.tag_icon_2_default,
        select = R.mipmap.tag_icon_2_select,
        route = "second"
    )

    object ThirdPage : StarScreen(
        default = R.mipmap.tag_icon_3_default,
        select = R.mipmap.tag_icon_3_select,
        route = "third"
    )

    object FourthPage : StarScreen(
        default = R.mipmap.tag_icon_4_default,
        select = R.mipmap.tag_icon_4_select,
        route = "fourth"
    )

    object PermissionDialogPage : StarScreen(
        route = "dialog/{firstRequest}/{secondRequest}"
    ) {
        fun createBody(firstContent: String, secondRequest: String) = "dialog/$firstContent/$secondRequest"
    }
}